package com.tywj.buscustomerapp.presenter.contract;


import android.content.Context;

import com.tywj.buscustomerapp.model.bean.BusTravelBean;
import com.tywj.buscustomerapp.model.bean.DaysNew;
import com.tywj.buscustomerapp.model.bean.RequestBean;
import com.tywj.buscustomerapp.presenter.BasePresenter;

import java.util.List;

public class newBuyTicketContract {

    public interface  newBuyTicketView{
        void showLoading();
        void closeLoading();
        void loadError(String msg);
        void loadDays(List<DaysNew.DataBean> days);
        void loadeIsBuySuccess(RequestBean requestBean);
        void loadeLineMessage(BusTravelBean.DataBean.ResultListBean bean);
        void finishView();
        Context getViewContext();
    }
    public interface  newBuyTicketPresenter extends BasePresenter {
        void getDays(String lineNum,String phone);
        void doBuyTicketOnOnce(Context context, String yhm, String ch, String gmqsz, String gmzdz,List<String> ccsjs,
                               String scsj, String xcsj,int number);
        void getLineMessage(String lineNumber);
        void doBuyTicketMonth(Context context, String yhm, String ch, String gmqsz, String gmzdz);
    }
}
